package com.aigao.golf.common.file.service

import org.springframework.web.multipart.MultipartFile

class MultipartFileExt
public fun MultipartFile.ext()
    = if(this.originalFilename.contains("."))  this.originalFilename.substring(this.originalFilename.lastIndexOf(".") + 1) else ""
